import { createRouter, createWebHistory } from 'vue-router'
import HomeView from '../views/HomeView.vue'
import DataGeneratorView from '../views/DataGeneratorView.vue'
import DataProcessorView from '../views/DataProcessorView.vue'

const routes = [
  {
    path: '/',
    name: 'home',
    component: HomeView
  },
  {
    path: '/generator',
    name: 'generator',
    component: DataGeneratorView
  },
  {
    path: '/processor',
    name: 'processor',
    component: DataProcessorView
  }
]

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes
})

export default router